﻿using MySpiderMgr.Domain.Common;
using MySpiderMgr.Domain.Common.Filters;
using System;
using System.Collections.Generic;
using System.Text;

namespace MySpiderMgr.Data.IRepositories.Common
{
    public interface ISysSequenceRepository
    {
        /// <summary>
        /// 增加
        /// </summary>
        /// <param name="Entity"></param>
        void Add(SysSequence Entity);
        /// <summary>
        /// 删除
        /// </summary>
        /// <param name="Entity"></param>
        void Delete(SysSequence Entity);
        /// <summary>
        /// 修改
        /// </summary>
        /// <param name="Entity"></param>
        void Update(SysSequence Entity);
        /// <summary>
        /// 根据Id获取当前对象
        /// </summary>
        /// <param name="Id"></param>
        /// <returns></returns>
        SysSequence GetById(int Id);
        /// <summary>
        /// 查询系统队列
        /// </summary>
        /// <param name="Filter"></param>
        /// <returns></returns>
        List<SysSequence> FindSysSequences(FindSysSequenceFilter Filter);
    }
}
